<template>
  <div class="dt-header">
    <mt-header title="example-xmyx">
      <a slot="left" @click="goBack">
        <mt-button icon="back">返回</mt-button>
      </a>
      <mt-button icon="more" slot="right"></mt-button>
    </mt-header>
  </div>
</template>

<script>
export default {
  name: 'dtheader',
  methods: {
    goBack () {
      this.$router.back()
    }
  }
}
</script>

<style lang="scss" scoped>
.dt-header {
  a {
    width: 70%;
    display: block;
  }
}
.mint-header {
  height: 45px;
  background-color: #ff6034;
}
</style>
